package com.itheima.reggie.service;


import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

//员工管理模块
public interface EmployeeService {

    //员工登录
    ResultInfo login(String username, String password);

    //员工列表
    List<Employee> findList(String name);

    //员工新增
    void save(Employee employee);

    //员工修改回显
    Employee findById(Long id);
    //员工修改
    void update(Employee employee);
}
